//
//  ViewController.m
//  ShipinModel
//
//  Created by mac on 2018/12/6.
//  Copyright © 2018 mac. All rights reserved.
//

#import "ViewController.h"
#import "Masonry.h"
#import "LSZViewController.h"
#import "LSZMJViewController.h"

#define kScreenWidth  [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height
#define kDeviceVersion [[UIDevice currentDevice].systemVersion floatValue]

#define kTabBarHeight 49

@interface ViewController ()
@end

@implementation ViewController
-(void)viewDidLoad
{
    [super viewDidLoad];
    UIButton * but = [[UIButton alloc]initWithFrame:CGRectMake(100, 100, 100, 100)];
    but.backgroundColor = [UIColor redColor];
    [but addTarget:self action:@selector(ViewController) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:but];
}
-(void)ViewController
{
//    LSZMJViewController * vc = [[LSZMJViewController alloc]init];
//    [self presentViewController:vc animated:YES completion:nil];
    
    LSZViewController * vc = [[LSZViewController alloc]init];
    [self presentViewController:vc animated:YES completion:nil];
}
@end
